FROM openjdk:8-jre-slim
VOLUME /tmp
#ARG JAR_FILE
ENV JAVA_PARAMS=""
ENV TZ=Asia/Shanghai
#ADD ${JAR_FILE} app.jar
ADD agent /usr/local/agent
ENTRYPOINT ["sh","-c","java $JAVA_PARAMS -jar /app.jar"]